<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%--核心标签库 --%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
    <h3>c:forEach / c:if</h3>
	<select name="len" class="form-control">
		<c:forEach begin="5" end="50" step="5" var="i">
			<option value="${i }"
				<c:if test="${i==p.rowMax }"> selected="selected"</c:if>>每页${i }条</option>
		</c:forEach>
	</select>

	<h3>c:out</h3>
	<%
		pageContext.setAttribute("a", "aaaa");
		pageContext.setAttribute("b", "<b>bbbbb</b>");
	%>
	a:${a } b:${b } c:${c } 
	a:
	<c:out value="${a }" /><br/>
	b:
	<c:out value="${b }" /><br/>
	b:
	<c:out value="${b }" escapeXml="false" /><br/>
	c:
	<c:out value="${c }" default="默认值" /><br/>

</body>
</html>